Skip to content

fix: add shorthand command functionality#3

Merged
frankgu968 merged 1 commit intomainfrom
saeid/shorthand-commands
Mar 11, 2026
Merged

fix: add shorthand command functionality#3
frankgu968 merged 1 commit intomainfrom
saeid/shorthand-commands

Conversation

@saeidalz13
Copy link
Copy Markdown
Contributor

Summary

Added single-dash shorthand flags to common CLI options across 15 files.

Shorthand mapping

Short Long form Scope
-l --limit 11 list commands across 13 files
-o --offset 11 list commands across 13 files
-n --name create/update/ingest in folders, documents, sections, tags, tenants
-q --query chunks search
-p --parent-path-part-id list/create/update in folders, documents, threads
-d --dry-run folders bulk-ingest
-H --no-header global option in cli.py
-k --api-key login

Files modified

  1. src/kscli/cli.py-H for --no-header, added -H to _FLAG_OPTS
  2. src/kscli/commands/auth.py-k for --api-key
  3. src/kscli/commands/folders.py-l, -o, -n, -p, -d
  4. src/kscli/commands/documents.py-l, -o, -n, -p
  5. src/kscli/commands/chunks.py-l, -q
  6. src/kscli/commands/sections.py-n
  7. src/kscli/commands/tags.py-l, -o, -n
  8. src/kscli/commands/tenants.py-l, -o, -n
  9. src/kscli/commands/threads.py-l, -o, -p
  10. src/kscli/commands/thread_messages.py-l, -o
  11. src/kscli/commands/document_versions.py-l, -o
  12. src/kscli/commands/workflows.py-l, -o
  13. src/kscli/commands/permissions.py-l, -o
  14. src/kscli/commands/invites.py-l, -o
  15. src/kscli/commands/path_parts.py-l, -o

@saeidalz13 saeidalz13 self-assigned this Mar 10, 2026
@saeidalz13 saeidalz13 marked this pull request as ready for review March 10, 2026 20:56
@frankgu968 frankgu968 changed the title Add shorthand command functionality feat: add shorthand command functionality Mar 11, 2026
@frankgu968 frankgu968 merged commit 8591889 into main Mar 11, 2026
9 of 12 checks passed
@frankgu968 frankgu968 deleted the saeid/shorthand-commands branch March 11, 2026 04:25
@frankgu968 frankgu968 changed the title feat: add shorthand command functionality fix: add shorthand command functionality Mar 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants